#ifndef GEOMVIEW_H
#define GEOMVIEW_H

#define GV_FACE 8

#include <geomview_i.h>
#include <plib.h>

typedef struct gvpos {
  float x;
  float y;
  float z;
}gvpos;

typedef struct gvcolor {
  double r;
  double g;
  double b;
  double a;
}gvcolor;

typedef struct gvctrl {
  PlotGraphType* g;
  int  dim;
  gvpos* coords;
  geomview_ctrl* win;
}gvctrl; 

int GV_plotgraph(char* F_graph,char* F_coords);
int GV_plotpart(char* F_graph,char* F_coords,char* where);

#endif
